<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>虚点位解锁</title>



    <link rel="shortcut icon" href="favicon.ico"> <link href="__PUBLIC__/Theme1/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/Theme1/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">

    <!-- Data Tables -->
    <link href="__PUBLIC__/Theme1/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">

    <link href="__PUBLIC__/Theme1/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/Theme1/css/style.min.css?v=4.1.0" rel="stylesheet">


</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">

                <div class="ibox-title">
                    <h5>虚点位解锁</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>

                <style>
                    .table-striped td{text-align:center;font-weight:bold;}

                    .table td, .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{    padding: 15px 2px !important;}
                    .table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th{    border: 1px solid #e7e7e7;}

                </style>

                <div class="ibox-content">
                    <table class="table table-striped table-bordered table-hover dataTables-example" id="tablechilds">
                        <tbody>
                                <td>用户编号</td>
                                <td>抢点级别</td>
                                <td>抢点组</td>
                                <td>抢点时间</td>
                                <td>是否过期</td>
                                <td>当前锁状态</td>
                                <td>操作</td>
                        </tbody>


                               <foreach name="xdlist" item="vo">
                                   <tbody>
                                       <td><{$vo.loginname}></td>
                                       <td><{$vo.qdianlevel|GetLevel}></td>
                                       <td><if condition="$vo.qdianlevel gt 3"><{$vo.qtpath}><else /><{$vo.qtname}></if></td>
                                       <td><{$vo.qiang_time|date="Y-m-d H:i:s",###}></td>
                                       <td><if condition="$vo.is_guoqi eq 1">已过期<else />未过期</if></td>
                                       <td><if condition="$vo.is_lock eq 1">已上锁<else /><font color="#ff7f50">未上锁</font></if></td>
                                       <td><if condition="$vo.is_lock eq 1"><a href="__URL__/xdlist/id/<{$vo.id}>/js/1">点击解锁</a><else /><a href="__URL__/xdlist/id/<{$vo.id}>/ss/1">点击上锁</a></if></td>
                                   </tbody>
                               </foreach>

                    </table>
                    <div class="result page"><{$page}></div>
                </div>

            </div>
        </div>
    </div>
</div>

<script src="__PUBLIC__/Theme1/js/jquery.min.js?v=2.1.4"></script>
<script src="__PUBLIC__/Theme1/js/bootstrap.min.js?v=3.3.6"></script>
<script src="__PUBLIC__/Theme1/js/plugins/jeditable/jquery.jeditable.js"></script>
<script src="__PUBLIC__/Theme1/js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="__PUBLIC__/Theme1/js/plugins/dataTables/dataTables.bootstrap.js"></script>
<script src="__PUBLIC__/Theme1/js/content.min.js?v=1.0.0"></script>
<script>
</script>
</body>


<script>

    $("#tablechilds .level1td").each(function(e){

        if(e==0){
            $(this).css("background","#D8E3E3");
        }
        else if(e==1){
            $(this).css("background","#F0ECCC");
        }
        else if(e==2){
            $(this).css("background","#D9CEED");
        }


    })


</script>

</body>

</html>
